<?php
class MY_Controller extends CI_Controller{
	
	function __construct(){
		parent::__construct();
	}
		
	protected function finalizeView($config){
		$this->load->view('dashboard/main/finalizeView/dashboard',$config);
	}
	
	protected function finalizeViewAdmin($config){
		$this->load->view('dashboard/admin/finalizeView/dashboard',$config);
	}
	
	/**
	 * router signature call function from ajax request
	 * @param unknown_type $func_name
	 */
	function ajax($func_name, $a=false, $b=false, $c=false, $d=false){
		$this->{'_'.$func_name}($a, $b, $c, $d);
	}
}